<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Widpy</title>
<link rel="stylesheet" type="text/css" href="/media/css/style.css" media="screen" />
<link rel="stylesheet" type="text/css" href="/media/css/login.css" media="screen" />
<!link rel="stylesheet" type="text/css" href="/media/css/style.css" media="screen" />
<!link rel="alternate stylesheet" type="text/css" href="{{ temaurl }}" media="screen" title="themechanged"/>
<!link rel="stylesheet" type="text/css" href="/media/css/modal.css" media="screen" />
<!link rel="stylesheet" type="text/css" href="/media/css/menu_pestanha.css" media="screen" />
<!link rel="stylesheet" type="text/css" href="/media/css/aasasp.css" media="screen" />
<div id="container">
<div id="header">
	<div id= "menu">
		<ul>
			<li><a href="/inicio/" class="menu">Home</a></li>
		</ul>
	</div>
</div>

{% if error_message %}
<p class="errornote">{{ error_message }}</p>
{% endif %}

<div id="content-main">
<form action="." method="post" id="login-form">
  <div class="form-row">
    <label for="id_username">Username: </label> <input type="text" name="username" id="id_username" />
  </div>
  <div class="form-row">
    <label for="id_password">Password: </label> <input type="password" name="password" id="id_password" />
  </div>
  <div class="submit-row">
    <label>&nbsp;</label><input type="submit" value="Log in" />
	<input type="hidden" name = "next" value="{{next}}" />
  </div>
  <div id="member">Not yet a Member?</div>
  <div id="register"><a href="/registrar/" class="register">Register Now</a></div>
</form>
</div>
<script type="text/javascript">
document.getElementById('id_username').focus()
</script>
</div>
